% !TeX encoding = UTF-8
% !TeX program = xelatex
% !TeX spellcheck = en_US

\documentclass[bachelor,chinese,print]{ustbbachelor}
% doctor|master|bachelor [chinese|english] [print|pdf] [super|numebers|authoryear]

\title{中文学位论文\\LaTeX 模板框架}
\author{傅里叶}
\major{计算机科学与技术}
\supervisor{高德纳\ 教授}
% \cosupervisor{}
% \date{二〇一七年五月一日} % 注释掉则为今日
% \professionaltype{专业学位类型}
% \secretlevel{秘密}        % 绝密|机密|秘密，注释本行则不保密
% \secretyear{20}           % 保密年限

\entitle{A LaTeX template framework for Chinese dissertations}
\enauthor{Fourier}
\enmajor{Computer Science and Technology}
\ensupervisor{Prof. Donald E. Knuth}
% \encosupervisor{}
% \endate{May 1, 2017}      % Today if commented
% \enprofessionaltype{Professional degree type}
% \ensecretlevel{Secret}    % Top secret|Highly secret|Secret


% 加载宏包和配置
% 不要更改加载顺序
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{siunitx}
\usepackage{amsthm}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{etoolbox}
\newcommand{\circled}[2][]{\tikz[baseline=(char.base)]
    {\node[shape = circle, draw, inner sep = 0.5pt]
    (char) {\phantom{\ifblank{#1}{#2}{#1}}};%
    \node at (char.center) {\makebox[0pt][c]{#2}};}}
\robustify{\circled}          % 带圈数字

\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\newcommand\pkg{\textsf}

\renewcommand\vec{\symbf}
\newcommand\mat{\symbf}
\newcommand\ts{\symbfsf}
\newcommand\real{\mathbf{R}}


\begin{document}

\maketitle
\makestatement

\frontmatter
\input{chapters/abstract}
% \input{chapters/notation}
\tableofcontents
\listoffigures
\listoftables

\mainmatter
\input{chapters/intro}
\input{chapters/floats}
\input{chapters/math}
\input{chapters/citations}
\bibliography{bibs/refs}

\appendix
\chapter{论文规范}

\backmatter
\input{chapters/acknowledgements}
\input{chapters/publications}

\end{document}
